package com.henu.rescue.mapper;

import com.henu.rescue.entity.Evaluate;
import com.henu.rescue.entity.StandardType;
import com.henu.rescue.entity.VO.EvaluateVO;
import com.henu.rescue.entity.VO.StandardAverageScore;
import com.henu.rescue.entity.VO.StandardCount;
import com.henu.rescue.utils.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EvaluateMapper {
    Integer add(Evaluate evaluate);

    Integer getStandardCount();

    List<StandardType> getStandard();

    List<StandardAverageScore> getStandardAverageScores();

    List<EvaluateVO> selectEvaluateInfoByPage(Page<EvaluateVO> page);

    int getCountByPage(Page<EvaluateVO> page);

    List<StandardCount> getCount80();

    List<StandardCount> getCount60_80();

    List<StandardCount> getCount60();
}
